/*
 * ImageUtil_converImageTo.cpp
 *
 *  Created on: Jul 23, 2009
 *      Author: kurt
 */

#include "ImageUtil.h"
#include "Image.h"

using namespace std;
using namespace objdraw;

Image * ImageUtil::convertImageTo(Image * image, bool in_vram, PixelFormat pixelFormat)
{
	bool swizzled = image->swizzled();
	if(swizzled)
		image->unswizzle();
//	TODO ImageUtil::convertImageTo	
	if(swizzled)
		image->swizzle();
	return image;
}
